//
//  DemoViewController.swift
//  MQAlbum
//
//  Created by 许博 on 2017/4/10.
//  Copyright © 2017年 mechat. All rights reserved.
//

import UIKit

class DemoViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
    }

    @IBAction func btnClick(_ sender: Any) {
        showLocalPhoto()
    }
   
    private func showLocalPhoto(){
        let picker = MQPhotoPickerController(type: PageType.RecentAlbum)
        picker.modalPresentationStyle = .popover
        MQPhotoPickerController.imageMaxSelectedNum = 10
        self.show(picker, sender: nil)
    }

    

    

}
